<!DOCTYPE html>
<html>

<head>
    <title> 模板字符串 </title>
</head>

<body>
	<div id="container"></div>

    <script type="text/html" id="user_tmpl">
        <%for ( var i = 0; i < users.length; i++ ) { %>
            <li>
                <a href="<%=users[i].url%>">
                    <%=users[i].name%>
                </a>
            </li>
            <% } %>
    </script>
    <script src="./temp.js"></script>
</body>

</html>